import request from '../request.js'

/**
 * 获取歌单评论
 * 参数：id（歌单id）, limit（取出评论数量）, offset（偏移数量）, before（分页参数）
 */
export const getPlaylistReviewAPI = (id, limit, offset, before = '') => {
  return request({
    url: '/comment/playlist',
    data: {
      id,
      limit,
      offset,
      before
    }
  })
}